//
//  ViewController.m
//  UI21_03_Block实现自定义View点击事件回调
//
//  Created by Scott on 16/4/7.
//  Copyright © 2016年 Scott. All rights reserved.
//

#import "ViewController.h"
#import "CustomView.h"

@interface ViewController ()

@property (weak, nonatomic) IBOutlet CustomView *customView;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
    // customView 调用方法
    [self.customView clickEditBtn:^(UIButton *editBtn) {
        
        NSLog(@"点击了编辑!");
        
    } clickDeleBtn:^(UIButton *deleBtn) {
        
        
        NSLog(@"点击了删除!");
    }];

}




- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
